home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
recent
/
gms_pi.lha
/
Pictures
/
pic_data.c
< prev
next >
Wrap
C/C++ Source or Header
|
1998-06-21
|
2KB
|
49 lines
#define DPKNOBASE 1
#include <proto/dpkernel.h>
#define PICMOD_VERSION 1
#define PICMOD_REVISION 1
extern BYTE ModAuthor[];
extern BYTE ModDate[];
extern BYTE ModCopyright[];
extern BYTE ModName[];
extern LIBFUNC LONG (CMDInit)(mreg(__a0) struct Module *, mreg(__a1) APTR DPKBase,
mreg(__a2) struct GVBase *, mreg(__d0) LONG dpkVersion,
mreg(__d1) LONG dpkRevision);
extern LIBFUNC void (CMDClose)(mreg(__a0) struct Module *);
extern LIBFUNC LONG (CMDExpunge)(void);
extern LIBFUNC LONG (CMDOpen)(mreg(__a0) struct Module *);
struct ModHeader ModHeader = {
MODULE_HEADER_V1, /* Version of this structure */
CMDInit, /* Init() */
CMDClose, /* Close() */
CMDExpunge, /* Expunge() */
JMP_LVO, /* Type of module table to be generated for our own use */
0, /* Reserved */
ModAuthor, /* Author that wrote the module */
0, /* Pointer to function list */
CPU_68000, /* The type of CPU that this module is compiled for */
PICMOD_VERSION, /* Version of this module */
PICMOD_REVISION, /* Revision of this module */
DPKVersion, /* Required DPK Version */
DPKRevision, /* Required DPK Revision */
CMDOpen, /* Open() */
0, /* Reserved */
ModCopyright, /* Copyright and Company information */
ModDate, /* The date of module compilation */
ModName, /* The name of this module */
JMP_LVO, /* The dpkernel jump table that we want */
0 /* Reserved */
};
APTR DPKBase;
struct GVBase *GVBase;
struct SysObject *PicObject;
struct Module *PictureMod;